/**      
 * @file		passbyvalue.cpp
 * @description		This example demonstrates what happens to values
 *			if we use pass by value
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 2
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

/**
 * This function attempts to set the values of submarines
 * and torpedoes. 
 * @param aSubmarines the variable for submarines
 * @param aTorpedoes the variable for torpedoes
 * @pre the arguments have been initialized to some values
 * @post the arguments are the same values that were sent to the function
 */
void getSubmarines(int aSubmarines, int aTorpedoes);

/**
 * @return zero if the application executes successfully
 */
int main() {
	int submarines = 0;
	int torpedoes = 0;
	cout << "Type the number of submarines and torpedoes\n";
	getSubmarines(submarines, torpedoes);
	cout << "You have typed ";
	cout << submarines << " submarines and ";
	cout << torpedoes << " torpedoes\n";
	return 0;
}

void getSubmarines(int aSubmarines, int aTorpedoes) {
	cin >> aSubmarines;
	cin >> aTorpedoes;
}
